<?php 
// kompresja
if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')){
	ob_start("ob_gzhandler");
}  else 
ob_start();

define("APPLICATION_PATH", realpath(dirname(__FILE__) . "/../application/"));
set_include_path(APPLICATION_PATH . "/../library" . PATH_SEPARATOR . APPLICATION_PATH . "/../application/controllers". PATH_SEPARATOR . APPLICATION_PATH . "/../application/models". PATH_SEPARATOR . get_include_path());
require_once('../ini/constants.php');
require_once('Loader/Dispatcher.php');
ob_end_flush();